MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / openDiffView

Function openDiffView

cypress/support/utils.ts:237–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

235
236/** Open the diff view from the top-level "Add..." menu. */
237export function openDiffView() {
238 cy.get('#addDropdown').click();
239 cy.get('#add-diff:visible').click();
240 cy.contains('span.lm_title:visible', 'Diff', {timeout: 5000}).should('exist');
241}
242
243/**
244 * @deprecated This function doesn't actually clear intercepts despite its name.

Callers 1

diff.cy.tsFile · 0.90

Calls 2

containsMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected