Skip to content

Commit 001583b

Browse files
committed
Fix test after removing error reporting
1 parent 3df8e74 commit 001583b

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

test/cypress/e2e/api/Settings.cy.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,6 @@ describe('Settings endpoints', () => {
7878
});
7979

8080
it('Should be able to get all settings with filters A', function() {
81-
cy.task('backendApiGet', {
82-
token: token,
83-
path: '/api/settings?sort=name&name:starts=e&limit=1'
84-
}).then((data) => {
85-
cy.validateSwaggerSchema('get', 200, '/settings', data);
86-
expect(data).to.have.property('result');
87-
expect(data.result).to.have.property('items');
88-
expect(data.result.items.length).to.be.greaterThan(0);
89-
});
90-
});
91-
92-
it('Should be able to get all settings with filters B', function() {
9381
cy.task('backendApiGet', {
9482
token: token,
9583
path: '/api/settings?id:in=1,2,3,4,5&limit=1'
@@ -101,7 +89,7 @@ describe('Settings endpoints', () => {
10189
});
10290
});
10391

104-
it('Should be able to get all settings with filters C', function() {
92+
it('Should be able to get all settings with filters B', function() {
10593
cy.task('backendApiGet', {
10694
token: token,
10795
path: '/api/settings?name:starts=xxxxxxxxxxxxxxx'

0 commit comments

Comments
 (0)