diff --git a/spec/configuration.spec.js b/spec/configuration.spec.js index eafa6ce..d642c93 100644 --- a/spec/configuration.spec.js +++ b/spec/configuration.spec.js @@ -100,4 +100,16 @@ describe('different configurations', () => { }); }); + describe('Company Name', () => { + beforeEach(() => { + browser.get("/e2e/company_name.html"); + browser.sleep(300); + }); + + it('title contains the company name specified in the config', () => { + const el = element.all(by.css('[class^=intro_title]')).first(); + expect(el.getText()).toContain("Roadrunner and Coyote Enterprises"); + }); + }); + }); diff --git a/src/components/popup/intro/intro.jsx b/src/components/popup/intro/intro.jsx index f20ed50..e9936f3 100644 --- a/src/components/popup/intro/intro.jsx +++ b/src/components/popup/intro/intro.jsx @@ -40,7 +40,9 @@ export default class Intro extends Component { }
Some Text