Skip to content

Commit

Permalink
fail test and copy cypress screenshot and video to gui_test_screensho…
Browse files Browse the repository at this point in the history
…ts directory
  • Loading branch information
dtaylor113 committed Apr 2, 2020
1 parent 51e921b commit 1b05e9f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion frontend/integration-tests-cypress/cypress.json
@@ -1,3 +1,5 @@
{
"integrationFolder": "cypress/tests"
"integrationFolder": "cypress/tests",
"screenshotsFolder": "../gui_test_screenshots/cypress/screenshots",
"videosFolder": "../gui_test_screenshots"
}
Expand Up @@ -25,7 +25,7 @@ describe('Monitoring: Alerts', () => {

it('displays the Alerts list page', () => {
cy.clickNavLink(['Monitoring', 'Alerting']);
cy.getTestElement('resource-title').should('have.text', 'Alerting');
cy.getTestElement('resource-title').should('have.text', 'Alert');
});

it('does not have a namespace dropdown', () => {
Expand Down
1 change: 1 addition & 0 deletions test-cypress.sh
@@ -1,2 +1,3 @@
echo "Testing Cypress..."
cd frontend
yarn cypress:run
2 changes: 1 addition & 1 deletion test-prow-e2e.sh
Expand Up @@ -30,7 +30,7 @@ oc patch oauths cluster --patch "$(cat ./frontend/integration-tests/data/patch-h
# get the branch base position for a specific chromium version using https://omahaproxy.appspot.com/
source ./chromium-version.sh

./test-gui.sh "${1:-e2e}"
# ./test-gui.sh "${1:-e2e}"
./test-cypress.sh
./test-ciphers.sh

Expand Down

0 comments on commit 1b05e9f

Please sign in to comment.