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

test: reduce fe ci time #2557

Merged
merged 8 commits into from
Aug 3, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/frontend-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ defaults:
jobs:
web-e2e:
name: Frontend e2e test
strategy:
fail-fast: false
matrix:
folderPrefix: ['consumer', 'route', 'plugin', 'rest']
runs-on: ubuntu-latest
services:
etcd:
Expand Down Expand Up @@ -82,8 +86,7 @@ jobs:

- name: Start frontend then test
run: |
rm -rf cypress/integration/plugin
yarn test:e2e
yarn start-server-and-test 'cross-env SERVE_ENV=test yarn start' http-get://localhost:8000 'cross-env CYPRESS_SERVE_ENV=test yarn cypress run --spec "**/integration/${{matrix.folderPrefix}}/**.spec.js"'

- name: Report e2e coverage
run: npx nyc report --reporter=text-summary
Expand Down
96 changes: 0 additions & 96 deletions .github/workflows/frontend-plugin-e2e-test.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/
/* eslint-disable no-undef */
import defaultSettings from '../../../config/defaultSettings';
import defaultSettings from '../../../../../config/defaultSettings';

context('Save Paginator Status', () => {
const timeout = 300;
Expand Down