fix ordering in e2e test (#12775)

This commit is contained in:
Vadim Ogievetsky 2022-07-13 15:08:00 -07:00 committed by GitHub
parent 2ab20c9fc9
commit c1c2104bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -173,14 +173,12 @@ async function validateQuery(page: playwright.Page, datasourceName: string) {
expect(results.length).toBeGreaterThan(0); expect(results.length).toBeGreaterThan(0);
expect(results[0]).toStrictEqual([ expect(results[0]).toStrictEqual([
/* __time */ '2015-09-12T00:46:58.772Z', /* __time */ '2015-09-12T00:46:58.772Z',
/* added */ '36', /* time */ '2015-09-12T00:46:58.771Z',
/* channel */ '#en.wikipedia', /* channel */ '#en.wikipedia',
/* cityName */ 'null', /* cityName */ 'null',
/* comment */ 'added project', /* comment */ 'added project',
/* countryIsoCode */ 'null', /* countryIsoCode */ 'null',
/* countryName */ 'null', /* countryName */ 'null',
/* deleted */ '0',
/* delta */ '36',
/* isAnonymous */ 'false', /* isAnonymous */ 'false',
/* isMinor */ 'false', /* isMinor */ 'false',
/* isNew */ 'false', /* isNew */ 'false',
@ -191,7 +189,9 @@ async function validateQuery(page: playwright.Page, datasourceName: string) {
/* page */ 'Talk:Oswald Tilghman', /* page */ 'Talk:Oswald Tilghman',
/* regionIsoCode */ 'null', /* regionIsoCode */ 'null',
/* regionName */ 'null', /* regionName */ 'null',
/* time */ '2015-09-12T00:46:58.771Z',
/* user */ 'GELongstreet', /* user */ 'GELongstreet',
/* added */ '36',
/* delta */ '36',
/* deleted */ '0',
]); ]);
} }