Skip to content

Commit abd5c78

Browse files
Update network selector
1 parent 9ee12fd commit abd5c78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/tests/provider-api.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ describe('MetaMask', function () {
4747
await driver.switchToWindowWithTitle('E2E Test Dapp', windowHandles);
4848
const switchedNetworkDiv = await driver.waitForSelector({
4949
css: '#network',
50-
text: '1',
50+
text: '0x1',
5151
});
5252
const switchedChainIdDiv = await driver.waitForSelector({
5353
css: '#chainId',
5454
text: '0x1',
5555
});
5656
const accountsDiv = await driver.findElement('#accounts');
5757

58-
assert.equal(await switchedNetworkDiv.getText(), '1');
58+
assert.equal(await switchedNetworkDiv.getText(), '0x1');
5959
assert.equal(await switchedChainIdDiv.getText(), '0x1');
6060
assert.equal(
6161
await accountsDiv.getText(),

0 commit comments

Comments
 (0)