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();
beforeAll(async () => {
beforeEach(async () => {
await app.start();
await app.client.waitUntilWindowLoaded();
await app.client.waitUntilTextExists('#sidebar', 'Receive');
});
afterAll(() => app.stop());
afterEach(() => app.stop());
describe('Receive', () => {
test('should load "Receive Page"', async () => {
@ -95,7 +95,7 @@ describe('Receive', () => {
expect(
await app.client
.element('#receive-wrapper #receive-transparent-addresses-wrapper')
.isVisible(),
.isExisting(),
).toEqual(true);
});