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

Run e2e tests in docker and Buildkite #95

Merged
merged 1 commit into from
Aug 9, 2018
Merged

Run e2e tests in docker and Buildkite #95

merged 1 commit into from
Aug 9, 2018

Conversation

KevinGrandon
Copy link
Contributor

@KevinGrandon KevinGrandon commented Jul 30, 2018

Adds support for running integration tests in docker containers.

  • Updates the Dockerfile to build e2e files.
  • Adds docker-compose targets and service dependencies to spin up a selenium server /w Chrome, as well as the test webserver.
  • Updates the Buildkite pipeline to trigger dockerized e2e tests.

@@ -1,10 +1,54 @@
version: '3'
version: '2.1'
Copy link
Contributor

Choose a reason for hiding this comment

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

Why downgrade?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just testing for now, this allows us to use some syntax in regards to services dependencies in docker that we have working in our browser-tests repo. Will try to upgrade assuming we get this working. This is not ready to go yet, still running into weird selenium issues when running on linux.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got this working for now, so I think I'd like to go ahead and land as-is. We can coordinate the docker-compose version upgrade along with the browser-tests repo which will make things easier: https://github.com/fusionjs/browser-tests/blob/master/docker-compose.yml#L1

@KevinGrandon KevinGrandon changed the title WIP - Run e2e tests in docker Run e2e tests in docker Aug 7, 2018
@KevinGrandon KevinGrandon force-pushed the e2e-docker branch 2 times, most recently from 84e9819 to 1896d9d Compare August 7, 2018 23:27
@KevinGrandon KevinGrandon changed the title Run e2e tests in docker Run e2e tests in docker and Buildkite Aug 7, 2018
@KevinGrandon
Copy link
Contributor Author

I got this passing, then rebased and now it's failing 😭 Going to look into these test failures later this week.

@DianaSuvorova
Copy link
Collaborator

DianaSuvorova commented Aug 8, 2018

Yeap, our e2e tests are broken on master. It is not flaky anymore it is broken.
#113

@KevinGrandon
Copy link
Contributor Author

Yeap, our e2e tests are broken on master. It is not flaky anymore it is broken.

Thanks, good to know. Landing this should prevent us from breaking tests permanently in the future. Might be worth disabling the test if we don't have a quick fix it to get this landed.

@DianaSuvorova
Copy link
Collaborator

DianaSuvorova commented Aug 9, 2018

Might be worth disabling the test if we don't have a quick fix it to get this landed.

@blackswanny ^

@@ -33,7 +33,7 @@ run((driver, browser) => {
runBrowserAccecibilityTest(driver, 'label');
});

test('Checked state', async function() {
test.skip('Checked state', async function() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is fine for now.

@DianaSuvorova
Copy link
Collaborator

Beautiful! Thank you for doing this!

@KevinGrandon KevinGrandon merged commit 8686f3c into master Aug 9, 2018
@KevinGrandon KevinGrandon deleted the e2e-docker branch August 9, 2018 17:47
nadiia pushed a commit that referenced this pull request Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants