2019-02-13 12:50:30 -05:00
|
|
|
import { browser, element, by } from 'protractor';
|
|
|
|
|
|
2020-07-30 13:03:13 +03:00
|
|
|
describe('Resolution-modifiers-example', () => {
|
2019-02-13 12:50:30 -05:00
|
|
|
|
2020-11-23 20:17:10 +02:00
|
|
|
beforeAll(() => browser.get(''));
|
2019-02-13 12:50:30 -05:00
|
|
|
|
2020-11-23 20:17:10 +02:00
|
|
|
it('shows basic flower emoji', async () => {
|
|
|
|
|
expect(await element.all(by.css('p')).get(0).getText()).toContain('🌸');
|
2019-02-13 12:50:30 -05:00
|
|
|
});
|
|
|
|
|
|
2020-11-23 20:17:10 +02:00
|
|
|
it('shows basic leaf emoji', async () => {
|
|
|
|
|
expect(await element.all(by.css('p')).get(1).getText()).toContain('🌿');
|
2019-02-13 12:50:30 -05:00
|
|
|
});
|
|
|
|
|
|
2020-11-23 20:17:10 +02:00
|
|
|
it('shows yellow flower in host child', async () => {
|
|
|
|
|
expect(await element.all(by.css('p')).get(9).getText()).toContain('🌼');
|
2019-02-13 12:50:30 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|