Skip to content

Commit

Permalink
change await
Browse files Browse the repository at this point in the history
  • Loading branch information
kiminus committed Jun 6, 2024
1 parent 0261959 commit 21d9dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/ProjectCard.E2E.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('E2E test: create project card workflow', () => {
).toBe(TEST_CASE[2]);
});
it('should create a new project card and close modal', async () => {
await page.click('#submitButton');
submitBtnHandle.click();
await page.waitForSelector('project-card');

const isHidden = await page.$eval('#addCardModal', modal => {
Expand Down

0 comments on commit 21d9dc3

Please sign in to comment.