Package io.github.giulong.spectrum
Class SpectrumTest<Data>
java.lang.Object
io.github.giulong.spectrum.SpectrumEntity<SpectrumTest<Data>,Data>
io.github.giulong.spectrum.SpectrumTest<Data>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActionsResolver
static final ConfigurationResolver
final DataResolver
<Data> static final DownloadWaitResolver
static final EventsDispatcherResolver
static final EventsWatcher
static final ExtentReportsResolver
static final ExtentTestResolver
static final ImplicitWaitResolver
static final PageLoadWaitResolver
static final ScreenshotQueueResolver
static final ScreenshotWatcherResolver
static final ScriptWaitResolver
protected List
<SpectrumPage<?, Data>> static final TestDataResolver
static final VideoEncoderResolver
static final WebDriverResolver
Fields inherited from class io.github.giulong.spectrum.SpectrumEntity
actions, configuration, data, downloadWait, eventsDispatcher, extentReports, extentTest, HASH_ALGORITHM, implicitWait, pageLoadWait, scriptWait, testData, webDriver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeEach
(Configuration configuration, TestData testData, com.aventstack.extentreports.ExtentTest extentTest, org.openqa.selenium.WebDriver webDriver, ImplicitWait implicitWait, PageLoadWait pageLoadWait, ScriptWait scriptWait, DownloadWait downloadWait, com.aventstack.extentreports.ExtentReports extentReports, org.openqa.selenium.interactions.Actions actions, EventsDispatcher eventsDispatcher, BlockingQueue<File> screenshotQueue, ScreenshotWatcher screenshotWatcher, VideoEncoder videoEncoder, Data data) SpectrumPage
<?, Data> void
Methods inherited from class io.github.giulong.spectrum.SpectrumEntity
addScreenshotToReport, checkDownloadedFile, checkDownloadedFile, clearAndSendKeys, deleteDownloadsFolder, getSharedFields, hasClass, hasClasses, hover, isNotPresent, isPresent, screenshot, screenshotFail, screenshotInfo, screenshotWarning, sha256Of, upload, waitForDownloadOf
-
Field Details
-
EVENTS_WATCHER
-
CONFIGURATION_RESOLVER
-
EVENTS_DISPATCHER_RESOLVER
-
EXTENT_REPORTS_RESOLVER
-
EXTENT_TEST_RESOLVER
-
TEST_DATA_RESOLVER
-
WEB_DRIVER_RESOLVER
-
IMPLICIT_WAIT_RESOLVER
-
PAGE_LOAD_WAIT_RESOLVER
-
DOWNLOAD_WAIT_RESOLVER
-
SCRIPT_WAIT_RESOLVER
-
ACTIONS_RESOLVER
-
SCREENSHOT_QUEUE_RESOLVER
-
SCREENSHOT_WATCHER_RESOLVER
-
VIDEO_ENCODER_RESOLVER
-
dataResolver
-
spectrumPages
-
-
Constructor Details
-
SpectrumTest
public SpectrumTest()
-
-
Method Details
-
beforeEach
@BeforeEach public void beforeEach(Configuration configuration, TestData testData, com.aventstack.extentreports.ExtentTest extentTest, org.openqa.selenium.WebDriver webDriver, ImplicitWait implicitWait, PageLoadWait pageLoadWait, ScriptWait scriptWait, DownloadWait downloadWait, com.aventstack.extentreports.ExtentReports extentReports, org.openqa.selenium.interactions.Actions actions, EventsDispatcher eventsDispatcher, BlockingQueue<File> screenshotQueue, ScreenshotWatcher screenshotWatcher, VideoEncoder videoEncoder, Data data) -
initPages
public void initPages() -
initPage
-