mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-29 06:17:40 +00:00
50 lines
1.1 KiB
JavaScript
50 lines
1.1 KiB
JavaScript
import {checkFilterByMethod, valueTabs,} from "../testHelpers/TrafficHelper";
|
|
|
|
it('opening mizu', function () {
|
|
cy.visit(Cypress.env('testUrl'));
|
|
});
|
|
|
|
const rabbitProtocolDetails = {name: 'AMQP', text: 'Advanced Message Queuing Protocol 0-9-1'};
|
|
|
|
checkFilterByMethod({
|
|
protocol: rabbitProtocolDetails,
|
|
method: 'exchange declare',
|
|
summary: 'exchange',
|
|
value: null
|
|
});
|
|
|
|
checkFilterByMethod({
|
|
protocol: rabbitProtocolDetails,
|
|
method: 'queue declare',
|
|
summary: 'queue',
|
|
value: null
|
|
});
|
|
|
|
checkFilterByMethod({
|
|
protocol: rabbitProtocolDetails,
|
|
method: 'queue bind',
|
|
summary: 'queue',
|
|
value: null
|
|
});
|
|
|
|
checkFilterByMethod({
|
|
protocol: rabbitProtocolDetails,
|
|
method: 'basic publish',
|
|
summary: 'exchange',
|
|
value: {tab: valueTabs.request, regex: /^message$/mg}
|
|
});
|
|
|
|
checkFilterByMethod({
|
|
protocol: rabbitProtocolDetails,
|
|
method: 'basic consume',
|
|
summary: 'queue',
|
|
value: null
|
|
});
|
|
|
|
checkFilterByMethod({
|
|
protocol: rabbitProtocolDetails,
|
|
method: 'basic deliver',
|
|
summary: 'exchange',
|
|
value: {tab: valueTabs.request, regex: /^message$/mg}
|
|
});
|