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:
Rainer Killinger
2023-12-19 14:23:38 +01:00
committed by Thea Schöbl
parent 1ab5c0c355
commit 1214b31cfc
69 changed files with 312 additions and 781 deletions

View File

@@ -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(() => {