Skip to content

Commit

Permalink
fixup! front: animate new intermediate op in stdcm
Browse files Browse the repository at this point in the history
  • Loading branch information
SharglutDev committed Dec 19, 2024
1 parent 9a1172c commit be52429
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions front/tests/pages/stdcm-page-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ class STDCMPage {
const fillVia = async (selectedSuggestion: Locator) => {
await this.addViaButton.nth(viaNumber - 1).click();
expect(await this.addViaButton.count()).toBe(viaNumber + 1);
await expect(this.getViaCi(viaNumber)).toBeVisible();
await this.getViaCi(viaNumber).fill(viaSearch);
await selectedSuggestion.click();
await expect(this.getViaCh(viaNumber)).toHaveValue('BV');
Expand Down Expand Up @@ -496,7 +497,7 @@ class STDCMPage {
// Wait for the download event
await this.page.waitForTimeout(500);
const downloadPromise = this.page.waitForEvent('download', { timeout: 120000 });
await this.downloadSimulationButton.click({ force: true });
await this.downloadSimulationButton.dispatchEvent('click');
const download = await downloadPromise.catch(() => {
throw new Error('Download event was not triggered.');
});
Expand All @@ -510,7 +511,7 @@ class STDCMPage {
}

async clickOnStartNewQueryButton() {
await this.startNewQueryButton.click();
await this.startNewQueryButton.dispatchEvent('click');
}

async mapMarkerVisibility() {
Expand Down

0 comments on commit be52429

Please sign in to comment.