Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ describe('Image Integrations', () => {

visitIntegrationsTable(integrationSource, integrationType);

cy.get('.pf-v6-c-alert:contains("Deprecation notice")').should('exist');
cy.get('[data-testid="add-integration"]').should('not.exist');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,23 @@ describe('Risk Event Timeline for Deployment', () => {

describe('Drilling Down To Container Events', () => {
it("should drill down on a pod to see that pod's containers", () => {
openEventTimeline();
openEventTimeline(fixtureForDeploymentEventTimeline);

cy.get(selectors.eventTimeline.timeline.namesList.firstListedName, {
timeout: 30000,
}).then((firstListedName) => {
const firstPodName = firstListedName.text();
cy.get(selectors.eventTimeline.timeline.namesList.firstListedName).then(
(firstListedName) => {
const firstPodName = firstListedName.text();

// click the button and drill down to see containers
clickFirstDrillDownButtonInEventTimeline();
clickFirstDrillDownButtonInEventTimeline(
'risks/eventTimeline/podEventTimeline.json'
);

// the back button should be visible
cy.get(selectors.eventTimeline.backButton);
// the pod name should be shown in the panel header
cy.get(selectors.eventTimeline.panelHeader.header).should('contain', firstPodName);
});
cy.get(selectors.eventTimeline.backButton);
cy.get(selectors.eventTimeline.panelHeader.header).should(
'contain',
firstPodName
);
}
);
});
});

Expand Down
Loading