Skip to content

Commit

Permalink
Fixed test (#17325)
Browse files Browse the repository at this point in the history
  • Loading branch information
andr317c authored Oct 21, 2024
1 parent 0d7d6ac commit f3c3b25
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ test('can add an allowed template to a document type', {tag: '@smoke'}, async ({
// Act
await umbracoUi.documentType.goToDocumentType(documentTypeName);
await umbracoUi.documentType.clickDocumentTypeTemplatesTab();
await umbracoUi.documentType.clickAddButton();
await umbracoUi.documentType.clickLabelWithName(templateName);
await umbracoUi.documentType.clickChooseButton();
await umbracoUi.documentType.clickLabelWithName(templateName);
await umbracoUi.documentType.clickChooseModalButton();
await umbracoUi.documentType.clickSaveButton();

// Assert
Expand Down Expand Up @@ -69,7 +69,7 @@ test.skip('can remove an allowed template from a document type', async ({umbraco
// Act
await umbracoUi.documentType.goToDocumentType(documentTypeName);
await umbracoUi.documentType.clickDocumentTypeTemplatesTab();
await umbracoUi.documentType.clickRemoveWithName(templateName, true);
await umbracoUi.documentType.clickRemoveWithName(templateName);
await umbracoUi.documentType.clickSaveButton();

// Assert
Expand Down

0 comments on commit f3c3b25

Please sign in to comment.