Use the current timestamp from the global clock (#6851)

* Use the current timestamp from the global clock. Use mode changes to set if the view is fixed time or real time

* Reload the page after adding a plan and then change the url params.
This commit is contained in:
Shefali Joshi
2023-07-28 09:37:11 -07:00
committed by GitHub
parent 7c58b19c3e
commit d4e51cbaf1
2 changed files with 13 additions and 19 deletions

View File

@@ -98,6 +98,8 @@ test.describe('Time List', () => {
const startBound = testPlan.TEST_GROUP[0].start;
const endBound = testPlan.TEST_GROUP[testPlan.TEST_GROUP.length - 1].end;
await page.goto(timelist.url);
// Switch to fixed time mode with all plan events within the bounds
await page.goto(
`${timelist.url}?tc.mode=fixed&tc.startBound=${startBound}&tc.endBound=${endBound}&tc.timeSystem=utc&view=timelist.view`