Skip to content

Commit bc9ed15

Browse files
committed
make tests less fragile
1 parent 8e43c31 commit bc9ed15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/functional/apps/discover/_shared_links.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
148148
});
149149

150150
it('should allow for copying the snapshot URL as a short URL and should open it', async function () {
151-
const re = new RegExp(baseUrl + '/goto/[0-9a-f]{32}$');
151+
const re = new RegExp(baseUrl + '/goto/.+$');
152152
await PageObjects.share.checkShortenUrl();
153153
let actualUrl: string = '';
154154
await retry.try(async () => {

0 commit comments

Comments
 (0)