Skip to content

Commit ff22d66

Browse files
committed
fix cypress test
1 parent 664ba4d commit ff22d66

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

x-pack/plugins/security_solution/cypress/integration/url_state.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ describe('url state', () => {
180180
cy.get(NETWORK).should(
181181
'have.attr',
182182
'href',
183-
`/app/security/network?query=(language:kuery,query:%27source.ip:%20%2210.142.0.9%22%20%27)&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1564691609186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1564691609186)))`
183+
`/app/security/network?query=(language:kuery,query:'source.ip:%20%2210.142.0.9%22%20')&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1564691609186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1564691609186)))`
184184
);
185185
});
186186

@@ -193,12 +193,12 @@ describe('url state', () => {
193193
cy.get(HOSTS).should(
194194
'have.attr',
195195
'href',
196-
`/app/security/hosts?query=(language:kuery,query:%27host.name:%20%22siem-kibana%22%20%27)&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1577914409186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1577914409186)))`
196+
`/app/security/hosts?query=(language:kuery,query:'host.name:%20%22siem-kibana%22%20')&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1577914409186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1577914409186)))`
197197
);
198198
cy.get(NETWORK).should(
199199
'have.attr',
200200
'href',
201-
`/app/security/network?query=(language:kuery,query:%27host.name:%20%22siem-kibana%22%20%27)&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1577914409186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1577914409186)))`
201+
`/app/security/network?query=(language:kuery,query:'host.name:%20%22siem-kibana%22%20')&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1577914409186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1577914409186)))`
202202
);
203203
cy.get(HOSTS_NAMES).first().invoke('text').should('eq', 'siem-kibana');
204204

@@ -216,14 +216,14 @@ describe('url state', () => {
216216
.should(
217217
'have.attr',
218218
'href',
219-
`/app/security/hosts?query=(language:kuery,query:%27agent.type:%20%22auditbeat%22%20%27)&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1577914409186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1577914409186)))`
219+
`/app/security/hosts?query=(language:kuery,query:'agent.type:%20%22auditbeat%22%20')&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1577914409186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1577914409186)))`
220220
);
221221
cy.get(BREADCRUMBS)
222222
.eq(2)
223223
.should(
224224
'have.attr',
225225
'href',
226-
`/app/security/hosts/siem-kibana?query=(language:kuery,query:%27agent.type:%20%22auditbeat%22%20%27)&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1577914409186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1577914409186)))`
226+
`/app/security/hosts/siem-kibana?query=(language:kuery,query:'agent.type:%20%22auditbeat%22%20')&timerange=(global:(linkTo:!(timeline),timerange:(from:1564689809186,kind:absolute,to:1577914409186)),timeline:(linkTo:!(global),timerange:(from:1564689809186,kind:absolute,to:1577914409186)))`
227227
);
228228
});
229229

0 commit comments

Comments
 (0)