test(receive): fix "show other address types" assertion
This commit is contained in:
parent
3ca81a151b
commit
45a2217535
|
@ -4,13 +4,13 @@ import { getApp } from '../setup/utils';
|
||||||
|
|
||||||
const app = getApp();
|
const app = getApp();
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeEach(async () => {
|
||||||
await app.start();
|
await app.start();
|
||||||
await app.client.waitUntilWindowLoaded();
|
await app.client.waitUntilWindowLoaded();
|
||||||
await app.client.waitUntilTextExists('#sidebar', 'Receive');
|
await app.client.waitUntilTextExists('#sidebar', 'Receive');
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(() => app.stop());
|
afterEach(() => app.stop());
|
||||||
|
|
||||||
describe('Receive', () => {
|
describe('Receive', () => {
|
||||||
test('should load "Receive Page"', async () => {
|
test('should load "Receive Page"', async () => {
|
||||||
|
@ -95,7 +95,7 @@ describe('Receive', () => {
|
||||||
expect(
|
expect(
|
||||||
await app.client
|
await app.client
|
||||||
.element('#receive-wrapper #receive-transparent-addresses-wrapper')
|
.element('#receive-wrapper #receive-transparent-addresses-wrapper')
|
||||||
.isVisible(),
|
.isExisting(),
|
||||||
).toEqual(true);
|
).toEqual(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue