@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.js
CHANGED
|
@@ -7215,10 +7215,13 @@ class HelpAndProfilePage {
|
|
|
7215
7215
|
await expect(this.neetoChatSpinner).toBeHidden();
|
|
7216
7216
|
};
|
|
7217
7217
|
this.openAndVerifyChatWidget = async () => {
|
|
7218
|
-
|
|
7218
|
+
const chatInitializationApis = this.neetoPlaywrightUtilities.interceptMultipleResponses({
|
|
7219
7219
|
baseUrl: this.chatApiBaseURL,
|
|
7220
7220
|
times: 3,
|
|
7221
|
+
timeout: 20 * 1000, // Increased timeout accounting delays in page load
|
|
7221
7222
|
});
|
|
7223
|
+
await this.page.reload();
|
|
7224
|
+
await chatInitializationApis;
|
|
7222
7225
|
await test$1.step("Step 1: Open Help Center links", this.openHelpCenter);
|
|
7223
7226
|
await test$1.step("Step 2: Open live chat and verify iframe", this.openLiveChatAndVerify);
|
|
7224
7227
|
await test$1.step("Step 3: Close and reopen live chat frame", async () => {
|