test(receive): fix "show other address types" assertion

This commit is contained in:
George Lima 2019-03-20 10:19:16 -03:00
parent 3ca81a151b
commit 45a2217535
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}); });