Skip to content

Commit

Permalink
whoops these were a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
jessabean committed Sep 26, 2024
1 parent 3c061a2 commit 913d16c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/e2e/utils/pageObjects/base.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,4 @@ export default class BasePage {
await this.title.isVisible();
return expect(this.page).toHaveURL(this.path);
}

public async isFinishedSaving(response) {
return (
response.url().includes("https://services/url") &&
response.status() === 200
);
}

public async savedFormResponse() {
const response = await this.page.waitForResponse(
async (response) => await this.isFinishedSaving(response)
);
return response;
}
}

0 comments on commit 913d16c

Please sign in to comment.