From df78ac1773152c89ff5f3968ea595c5c2e9830de Mon Sep 17 00:00:00 2001 From: shashwata Date: Tue, 2 Apr 2024 12:56:32 +0600 Subject: [PATCH] update: update locators --- tests/pw/pages/selectors.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/pw/pages/selectors.ts b/tests/pw/pages/selectors.ts index 74347f5c45..0fd04dcdfe 100644 --- a/tests/pw/pages/selectors.ts +++ b/tests/pw/pages/selectors.ts @@ -1,5 +1,4 @@ import { helpers } from '@utils/helpers'; -import { string } from 'zod'; export const selector = { // Login @@ -1176,8 +1175,8 @@ export const selector = { contentIframe: '#postdivrich iframe', contentHtmlBody: '#tinymce', sendAnnouncementTo: '#announcement_sender_type', // all_seller, selected_seller, enabled_seller, disabled_seller, featured_seller - saveAsDraft: '.draft-btn', - publish: '.publish-btn', + saveAsDraft: 'input.draft-btn', + publish: 'input.publish-btn', schedule: { addSchedule: 'span#timestamp a',