Package com.decs.application
Class ProblemEditorTests
java.lang.Object
com.decs.application.PlaywrightIT
com.decs.application.ProblemEditorTests
Problem Editor Tests Class
This class implements end-to-end tests to the problem editor page.
- Version:
- 1.0
- Author:
- Bruno Guiomar
-
Field Summary
FieldsFields inherited from class com.decs.application.PlaywrightIT
browser, browserContext, browserType, launchOptions, page, playwright, port -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidSimulates the creation and saving procedures of a new problem.(package private) voidVerifies if all expected components are visible in the client's browserMethods inherited from class com.decs.application.PlaywrightIT
afterAll, afterEach, beforeAll, beforeEach
-
Field Details
-
bd
-
outStream
-
-
Constructor Details
-
ProblemEditorTests
public ProblemEditorTests()
-
-
Method Details
-
visibleComponentsTest
@Test void visibleComponentsTest()Verifies if all expected components are visible in the client's browser -
saveProblemTest
@Test void saveProblemTest()Simulates the creation and saving procedures of a new problem.Verifies if the output corresponds to the selected values.
-