Skip to content

Commit 7e1f2d5

Browse files
committed
fix e2e
1 parent de4fa14 commit 7e1f2d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/remix-ide-e2e/src/tests/vm_state.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const tests = {
6565
// check toaster for forked state
6666
.waitForElementVisible(
6767
{
68-
selector: '//*[@data-shared="tooltipPopup" and contains(.,"VM state \'forkedState_1\' forked")]',
68+
selector: '//*[@data-shared="tooltipPopup" and contains(.,"New environment \'forkedState_1\' created with forked state.")]',
6969
locateStrategy: 'xpath'
7070
}
7171
)
@@ -105,7 +105,7 @@ const tests = {
105105
.setValue('input[data-id="modalDialogForkState"]', 'forkedState_2')
106106
.modalFooterOKClick('udappNotify')
107107
.waitForElementVisible('*[data-shared="tooltipPopup"]', 10000)
108-
.assert.textContains('*[data-shared="tooltipPopup"]', `VM state 'forkedState_2' forked and selected as current environment.`)
108+
.assert.textContains('*[data-shared="tooltipPopup"]', `New environment 'forkedState_2' created with forked state.`)
109109
// check if 'forkedState_2' is selected as current environment
110110
.assert.elementPresent('*[data-id="selected-provider-vm-fs-forkedState_2"]')
111111
// check if 'forkedState_2' is present in environment explorer

0 commit comments

Comments
 (0)