Fixed membership tests in CI
refs b58ec2a3cb
- blogUrl config was not set meaning the baseUrl handling in `<GhUrlInput>` picked up the current test URL which can change between test runs, especially when run in parallel using ember-exam
This commit is contained in:
parent
b58ec2a3cb
commit
729d0e9786
|
@ -20,6 +20,8 @@ describe('Acceptance: Settings - Membership', function () {
|
|||
this.server.loadFixtures('configs');
|
||||
this.server.loadFixtures('products');
|
||||
|
||||
this.server.db.configs.update(1, {blogUrl: 'http://localhost:2368'})
|
||||
|
||||
const role = this.server.create('role', {name: 'Owner'});
|
||||
this.server.create('user', {roles: [role]});
|
||||
|
||||
|
@ -207,7 +209,7 @@ describe('Acceptance: Settings - Membership', function () {
|
|||
|
||||
expect(find('[data-test-input="free-welcome-page"]')).to.exist;
|
||||
expect(find('[data-test-input="free-welcome-page"]'))
|
||||
.to.have.value('http://localhost:4200/not%20a%20url');
|
||||
.to.have.value('http://localhost:2368/not%20a%20url');
|
||||
|
||||
// it can manage free tier description and benefits
|
||||
|
||||
|
|
Loading…
Reference in New Issue