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

Update gulp e2e #20386

Merged
merged 4 commits into from Jan 17, 2019
Merged

Update gulp e2e #20386

merged 4 commits into from Jan 17, 2019

Conversation

estherkim
Copy link
Collaborator

@estherkim estherkim commented Jan 16, 2019

Updates gulp e2e to look for tests in extensions/**/test-e2e. The idea is that for testing a single component, it should live in its own dir.

This is in addition to tests that live in test/e2e, which is where tests with multiple components should live.

Example where e2e tests can live:

.
+-- extensions
|   +-- amp-esther
|   |   +-- 0.1 
|   |   |   +-- test
|   |   |   |   +-- test-amp-esther (not valid)
|   |   |   +-- test-e2e
|   |   |   |   +-- test-amp-esther (valid)
+-- tests
|   +-- e2e
|   |   +-- test-home-page (valid) 

build-system/tasks/e2e/index.js Outdated Show resolved Hide resolved
@danielrozenberg danielrozenberg merged commit 407a664 into ampproject:master Jan 17, 2019
@estherkim estherkim deleted the gulp-e2e branch January 17, 2019 17:09
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
* Update gulp e2e

* Update path

* extensions e2e tests need to be in test-e2e dir

* Turn e2e test paths into build-system/config const
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants