mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed membership tests in CI
refs 4b646d40ea
- 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
4b646d40ea
commit
2e42bc1908
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue