-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release' of https://github.com/appsmithorg/appsmith int…
…o feat/custom-connection-name-oidc-saml
- Loading branch information
Showing
85 changed files
with
2,488 additions
and
1,666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures/ApiError_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import * as _ from "../../../../support/Objects/ObjectsCore"; | ||
import { PageType } from "../../../../support/Pages/DebuggerHelper"; | ||
import EditorNavigation, { | ||
EditorViewMode, | ||
} from "../../../../support/Pages/EditorNavigation"; | ||
|
||
describe("Api Error Debugger", { tags: ["@tag.IDE"] }, () => { | ||
before(() => { | ||
// Create api that causes an error | ||
_.apiPage.CreateAndFillApi("https://fakeapi/user"); | ||
}); | ||
it("it shows error message", () => { | ||
_.apiPage.RunAPI(false); | ||
_.debuggerHelper.AssertOpen(PageType.API); | ||
_.apiPage.ResponseStatusCheck("PE-RST-5000"); | ||
}); | ||
it("it shows debug button and navigates", () => { | ||
_.apiPage.DebugError(); | ||
_.debuggerHelper.AssertSelectedTab("Error"); | ||
_.debuggerHelper.AssertErrorCount(1); | ||
EditorNavigation.SwitchScreenMode(EditorViewMode.SplitScreen); | ||
_.apiPage.DebugError(); | ||
_.debuggerHelper.AssertSelectedTab("Error"); | ||
_.debuggerHelper.AssertErrorCount(1); | ||
}); | ||
}); |
Oops, something went wrong.