mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 21:27:52 +00:00
For the setTimeConductorMode, use the close time popup button rather than the submit button to dismiss time popup (#7613)
Use the close time popup button rather than the submit button as the submit button triggers network requests.
This commit is contained in:
parent
b7b9ccbe65
commit
a01f21017f
@ -392,7 +392,8 @@ async function setTimeConductorMode(page, isFixedTimespan = true) {
|
||||
await page.getByRole('menuitem', { name: /Real-Time/ }).click();
|
||||
await page.waitForURL(/tc\.mode=local/);
|
||||
}
|
||||
await page.getByLabel('Submit time offsets').or(page.getByLabel('Submit time bounds')).click();
|
||||
//dismiss the time conductor popup
|
||||
await page.getByLabel('Discard changes and close time popup').click();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -87,7 +87,7 @@
|
||||
></button>
|
||||
<button
|
||||
class="c-button icon-x"
|
||||
aria-label="Discard time bounds"
|
||||
aria-label="Discard changes and close time popup"
|
||||
@click.prevent="hide"
|
||||
></button>
|
||||
</div>
|
||||
|
@ -132,7 +132,7 @@
|
||||
></button>
|
||||
<button
|
||||
class="c-button icon-x"
|
||||
aria-label="Discard time offsets"
|
||||
aria-label="Discard changes and close time popup"
|
||||
@click.prevent="hide"
|
||||
></button>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user