Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix e2e test setup #545

Merged
merged 8 commits into from
Jun 27, 2019
Merged

Fix e2e test setup #545

merged 8 commits into from
Jun 27, 2019

Conversation

0xGabi
Copy link
Contributor

@0xGabi 0xGabi commented Jun 21, 2019

🦅 Pull Request

Update to fix the problem of two test trying to spawn aragon devchain

@0xGabi 0xGabi added the 🛠️ toolkit Toolkit for accessing Aragon utilities programmatically. label Jun 21, 2019
@kernelwhisperer kernelwhisperer changed the title Refactor e2e test Fix e2e test setup Jun 23, 2019
@@ -129,14 +129,13 @@ function sanityCheck(
modulePath,
artifact
) {
const { environments, contractPath } = artifact
const { appName, registry, network } = environments[0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was failing here because environments is not an array.
That being said environments['default'] does not feel alright either.

})

test('should publish an aragon app directory successfully', async t => {
test.skip('should publish an aragon app directory successfully', async t => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've marked it to be skipped because, even though it passes, it makes aragon run fail: Cannot find transaction pathing.

Not sure if it's possible to resolve this conflict, but perhaps we shouldn't test deploying to the local devchain since aragon run is already doing it. Can we try deploying to rinkeby instead?

Copy link
Contributor Author

@0xGabi 0xGabi Jun 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to use Rinkeby and is working fine but I'm also having problems with Cannot find transaction pathing on some node versions. I'll keep the .skip and merge it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see, it's the same issue as with local host:
It cannot find the transaction path when another deploy is happening at the same time.

Any thoughts @sohkai ?

@0xGabi 0xGabi marked this pull request as ready for review June 27, 2019 02:27
@0xGabi 0xGabi force-pushed the refactor-e2e-test branch from bc23c77 to 2da5bbc Compare June 27, 2019 20:08
@0xGabi 0xGabi merged commit 9bf1f5a into aragon:master Jun 27, 2019
@0xGabi 0xGabi deleted the refactor-e2e-test branch June 27, 2019 20:37
@kernelwhisperer
Copy link
Contributor

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠️ toolkit Toolkit for accessing Aragon utilities programmatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants