We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61bd4c8 commit f4f4264Copy full SHA for f4f4264
1 file changed
test/api/environments.test.js
@@ -171,6 +171,15 @@ module.exports = () => {
171
expect(withChar[1].id).to.be.equal(withoutChar[1].id);
172
});
173
174
+ it('should successfully filter environments on status history with a partial sequence', async () => {
175
+ const response = await request(server).get('/api/environments?filter[statusHistory]=D-E');
176
+
177
+ expect(response.status).to.equal(200);
178
+ const environments = response.body.data;
179
+ expect(environments.length).to.be.equal(1);
180
+ expect(environments[0].id).to.be.equal('KGIS12DS');
181
+ });
182
183
it('should successfully filter environments status history with limit', async () => {
184
const response = await request(server).get('/api/environments?filter[statusHistory]=SE&page[limit]=1');
185
0 commit comments