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:
Kevin Ansfield 2022-02-19 22:20:33 +00:00
parent b58ec2a3cb
commit 729d0e9786
1 changed files with 3 additions and 1 deletions

View File

@ -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