Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cypress] Transaction details tests fix #199391

Merged
merged 15 commits into from
Dec 3, 2024
Merged
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 @@ -15,8 +15,7 @@ const timeRange = {
rangeFrom: start,
rangeTo: end,
};
// flaky
describe.skip('Transaction details', () => {
describe('Transaction details', () => {
before(() => {
synthtrace.index(
opbeans({
Expand All @@ -34,7 +33,7 @@ describe.skip('Transaction details', () => {
cy.loginAsViewerUser();
});

it('shows transaction name and transaction charts', () => {
it('shows transaction name and transaction charts', { defaultCommandTimeout: 60000 }, () => {
cy.intercept('GET', '/internal/apm/services/opbeans-java/transactions/charts/latency?*').as(
'transactionLatencyRequest'
);
Expand All @@ -60,7 +59,7 @@ describe.skip('Transaction details', () => {
'@transactionThroughputRequest',
'@transactionFailureRateRequest',
],
{ timeout: 30000 }
{ timeout: 60000 }
).spread((latencyInterception, throughputInterception, failureRateInterception) => {
expect(latencyInterception.request.query.transactionName).to.be.eql('GET /api/product');

Expand Down Expand Up @@ -106,7 +105,9 @@ describe.skip('Transaction details', () => {
);
cy.contains('Create SLO');
});
it('shows top errors table', () => {

// flaky
it.skip('shows top errors table', () => {
cy.visitKibana(
`/app/apm/services/opbeans-java/transactions/view?${new URLSearchParams({
...timeRange,
Expand Down
Loading