Skip to content

Commit

Permalink
LPD-37074 Source format
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-franca authored and brianchandotcom committed Oct 24, 2024
1 parent 25948ad commit bf0ea85
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ export const test = mergeTests(
virtualInstancesPagesTest
);

let hasDataProvider: boolean = false;

const DEFAULT_VIRTUAL_INSTANCE_NAME = 'www.able.com';

const deleteAfterTestVirtualInstances = new Set<string>();
let hasDataProvider: boolean = false;

test.afterEach(async ({formsPage, page, virtualInstancesPage}) => {
await formsPage.goTo();
Expand All @@ -42,7 +41,6 @@ test.afterEach(async ({formsPage, page, virtualInstancesPage}) => {
}

for (const virtualInstanceName of deleteAfterTestVirtualInstances) {

await virtualInstancesPage.deleteVirtualInstance(virtualInstanceName);

deleteAfterTestVirtualInstances.delete(virtualInstanceName);
Expand Down Expand Up @@ -90,13 +88,17 @@ test.describe('Manage forms through submission page', () => {

const pagePromise = virtualInstancePage.waitForEvent('popup');

const virtualInstanceFormBuilderPage = new FormBuilderPage(virtualInstancePage);
const virtualInstanceFormBuilderPage = new FormBuilderPage(
virtualInstancePage
);

await virtualInstanceFormBuilderPage.openFormSubmission();

const virtualInstanceFormSubmissionPage = await pagePromise;

await virtualInstanceFormSubmissionPage.getByRole('button', {name: 'Submit'}).click();
await virtualInstanceFormSubmissionPage
.getByRole('button', {name: 'Submit'})
.click();

await expect(
virtualInstanceFormSubmissionPage.getByText(
Expand Down

0 comments on commit bf0ea85

Please sign in to comment.