mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-03 12:02:53 +00:00
refactor: overhaul minimal-deployment compose file
fix: changeset crashes because it uses internal prettier version refactor: add asdf tool versioning file fix: iOS build resources fix: backend tests break every year refactor: update some backend unit tests feat: add direnv for nix feat: update nix flake to not rely on buildFHSUserEnv feat: enable checkJs by default feat: custom ion-icon package feat: custom ion-icon package feat: custom ion-icon element feat: custom ion-icon element feat: custom ion-icon element feat: custom ion icon element fix: e2e tests
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
describe('favorites', function () {
|
||||
beforeEach(() => {
|
||||
cy.interceptSearch({
|
||||
extends: {query: 'test'},
|
||||
extends: {query: 'a'},
|
||||
fixture: 'search/generic',
|
||||
alias: 'search',
|
||||
});
|
||||
@@ -29,7 +29,7 @@ describe('favorites', function () {
|
||||
it('should add a favorite', function () {
|
||||
cy.visit('/search');
|
||||
cy.patchSearchPage();
|
||||
cy.get('ion-searchbar').type('test');
|
||||
cy.get('ion-searchbar').type('a');
|
||||
let text!: string;
|
||||
cy.get('stapps-data-list-item')
|
||||
.first()
|
||||
@@ -40,9 +40,7 @@ describe('favorites', function () {
|
||||
text = it;
|
||||
});
|
||||
cy.get('stapps-favorite-button').click();
|
||||
cy.get('stapps-favorite-button > ion-button > ion-icon')
|
||||
.invoke('attr', 'ng-reflect-fill')
|
||||
.should('eq', 'true');
|
||||
cy.get('stapps-favorite-button > ion-button > ion-icon').should('have.class', 'selected');
|
||||
});
|
||||
cy.visit('/favorites');
|
||||
cy.get('stapps-data-list-item').within(() => {
|
||||
|
||||
Reference in New Issue
Block a user