Merge pull request #20 from MillenniumEarl/deepsource-transform-fd18531c
Format code with prettierpull/25/head
commit
e192c2834e
|
@ -489,8 +489,8 @@ async function loginF95(browser, username, password) {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
page.click(selectors.LOGIN_BUTTON), // Click on the login button
|
page.click(selectors.LOGIN_BUTTON), // Click on the login button
|
||||||
page.waitForNavigation({
|
page.waitForNavigation({
|
||||||
waitUntil: shared.WAIT_STATEMENT
|
waitUntil: shared.WAIT_STATEMENT,
|
||||||
}) // Wait for page to load
|
}), // Wait for page to load
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Prepare result
|
// Prepare result
|
||||||
|
|
|
@ -37,9 +37,9 @@ module.exports.getSearchGameResults = async function (browser, gamename) {
|
||||||
page.click(selectors.SEARCH_BUTTON), // Execute search
|
page.click(selectors.SEARCH_BUTTON), // Execute search
|
||||||
page.waitForNavigation({
|
page.waitForNavigation({
|
||||||
waitUntil: shared.WAIT_STATEMENT,
|
waitUntil: shared.WAIT_STATEMENT,
|
||||||
}) // Wait for page to load
|
}), // Wait for page to load
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Select all conversation titles
|
// Select all conversation titles
|
||||||
let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY);
|
let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY);
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module.exports.prepareBrowser = async function () {
|
||||||
headless: !shared.debug, // Use GUI when debug = true
|
headless: !shared.debug, // Use GUI when debug = true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return browser;
|
return browser;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue