Skip to content

Commit

Permalink
Debug failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
johanib committed Oct 30, 2024
1 parent d9a9a15 commit a7627e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 94 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test-integration-webtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,12 @@ jobs:
working-directory: spdashboard
run: |
${DOCKER_COMPOSE_PHP} sh -c 'composer webtest'
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: spdashboard/var/log
retention-days: 2
if-no-files-found: error
94 changes: 0 additions & 94 deletions .github/workflows/test-integration.yml

This file was deleted.

1 change: 1 addition & 0 deletions tests/webtests/EditServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public function test_privacy_questions_admin_toggle()
$form->setValues($formData);
self::$pantherClient->executeScript("document.getElementsByClassName('service-form').item(0).submit();");
self::$pantherClient->wait(3);
self::$pantherClient->takeScreenshot('var/ss.png');
self::assertOnPage('Your changes were saved!');

// Step 2: Surfnet can't access the privacy questions
Expand Down

0 comments on commit a7627e8

Please sign in to comment.