@bigbinary/neeto-playwright-commons 1.6.3 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +4 -1
- package/index.cjs.js.map +1 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -7250,10 +7250,13 @@ class HelpAndProfilePage {
|
|
|
7250
7250
|
await test.expect(this.neetoChatSpinner).toBeHidden();
|
|
7251
7251
|
};
|
|
7252
7252
|
this.openAndVerifyChatWidget = async () => {
|
|
7253
|
-
|
|
7253
|
+
const chatInitializationApis = this.neetoPlaywrightUtilities.interceptMultipleResponses({
|
|
7254
7254
|
baseUrl: this.chatApiBaseURL,
|
|
7255
7255
|
times: 3,
|
|
7256
|
+
timeout: 20 * 1000, // Increased timeout accounting delays in page load
|
|
7256
7257
|
});
|
|
7258
|
+
await this.page.reload();
|
|
7259
|
+
await chatInitializationApis;
|
|
7257
7260
|
await test.test.step("Step 1: Open Help Center links", this.openHelpCenter);
|
|
7258
7261
|
await test.test.step("Step 2: Open live chat and verify iframe", this.openLiveChatAndVerify);
|
|
7259
7262
|
await test.test.step("Step 3: Close and reopen live chat frame", async () => {
|