..
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 | import { expect } from 'chai';
import { SpectronClient } from 'spectron';
import commonSetup from './common-setup';
describe('gravity App', function () {
commonSetup.apply(this);
let client: SpectronClient;
beforeEach(function() {
client = this.app.client;
});
it('creates initial windows', async function () {
const count = await client.getWindowCount();
expect(count).to.equal(1);
});
// it('should display message saying App works !', async function () {
// const elem = await client.$('app-home h1');
// const text = await elem.getText();
// expect(text).to.equal('App works !');
// });
});
|
|