Skip to content

Commit

Permalink
e2e test tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Oct 1, 2024
1 parent 257031b commit 170cbe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions applications/portal/deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ harness:
- user
test:
e2e:
smoketest: false
enabled: true
secrets:
scicrunch-api-key:
Expand Down
4 changes: 3 additions & 1 deletion applications/portal/test/e2e/e2esearch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,14 @@ describe("E2E Flow for AntiBody Registry", () => {

expect(targAntigens[0]).toBe("Target antigen");
expect(targAntigens[1]).not.toBeNull;

await page.waitForSelector(s.SEARCH_INPUT);
const inputValue = await getValue(s.SEARCH_INPUT);
console.log("inputValue", inputValue);

await page.click(s.SEARCH_INPUT)

await page.waitForSelector(s.SEARCH_DELETE_BUTTON);

await page.click(s.SEARCH_DELETE_BUTTON)

await page.keyboard.press('Enter')
Expand Down

0 comments on commit 170cbe9

Please sign in to comment.