Skip to content

Commit

Permalink
Selenium Test Suite - PageObject.browser
Browse files Browse the repository at this point in the history
* Change default insertTimestamp to FALSE (removes `_t` query param everywhere)

Signed-off-by: Peter Fitzgibbons <[email protected]>
  • Loading branch information
Peter Fitzgibbons committed Mar 24, 2023
1 parent b5084a7 commit 95f2386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/apps/dashboard/dashboard_clone.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function ({ getService, getPageObjects }) {
const clonedDashboardName = dashboardName + ' Copy';

before(async function () {
return PageObjects.dashboard.initTests();
await PageObjects.dashboard.initTests();
});

it('Clone saves a copy', async function () {
Expand Down
2 changes: 1 addition & 1 deletion test/functional/services/common/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export async function BrowserProvider({ getService }: FtrProviderContext) {
* @param {boolean} insertTimestamp Optional
* @return {Promise<void>}
*/
public async get(url: string, insertTimestamp: boolean = true) {
public async get(url: string, insertTimestamp: boolean = false) {
if (insertTimestamp) {
const urlWithTime = modifyUrl(url, (parsed) => {
(parsed.query as any)._t = Date.now();
Expand Down

0 comments on commit 95f2386

Please sign in to comment.