Skip to content

Commit

Permalink
Fix tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrineabdmouleh committed Oct 3, 2023
1 parent 2257e9d commit 8f79478
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/UI/campaigns/productV2/functional/18_seoTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ describe('BO - Catalog - Products : Seo tab', async () => {
it('should add tag', async function () {
await testContext.addContextItem(this, 'testIdentifier', 'addTag', baseContext);

await seoTab.setTag(page, 'hello');
await seoTab.setTag(page, 'welcome');

const message = await createProductPage.saveProduct(page);
expect(message).to.eq(createProductPage.successfulUpdateMessage);
Expand All @@ -237,10 +237,10 @@ describe('BO - Catalog - Products : Seo tab', async () => {
expect(pageTitle).to.contains(Products.demo_1.name);
});

it('should search the new tag \'hello\' from the search bar', async function () {
it('should search the new tag \'welcome\' from the search bar', async function () {
await testContext.addContextItem(this, 'testIdentifier', 'searchTag', baseContext);

await foProductPage.searchProduct(page, 'hello');
await foProductPage.searchProduct(page, 'welcome');

const pageTitle = await searchResultsPage.getPageTitle(page);
await expect(pageTitle).to.equal(searchResultsPage.pageTitle);
Expand Down

0 comments on commit 8f79478

Please sign in to comment.