Skip to content
Draft
Show file tree
Hide file tree
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
11 changes: 10 additions & 1 deletion maqs-accessibility/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,28 @@
<properties>
<deque.axe.version>4.4.1</deque.axe.version>
<apache.commons.version>1.9</apache.commons.version>
<jsoup.version>1.14.3</jsoup.version>
<jsoup.version>1.15.2</jsoup.version>
</properties>

<dependencies>
<dependency>
<groupId>com.cognizantsoftvision.maqs.selenium</groupId>
<artifactId>maqs-selenium</artifactId>
</dependency>
<dependency>
<groupId>com.cognizantsoftvision.maqs.playwright</groupId>
<artifactId>maqs-playwright</artifactId>
</dependency>
<dependency>
<groupId>com.deque.html.axe-core</groupId>
<artifactId>selenium</artifactId>
<version>${deque.axe.version}</version>
</dependency>
<dependency>
<groupId>com.deque.html.axe-core</groupId>
<artifactId>playwright</artifactId>
<version>${deque.axe.version}</version>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ private static String getDataImageString(SearchContext context) {
* @return The timestamp as a specified date formatted string
* @throws ParseException If parse exception occurs
*/
private static String getDateFormat(String timestamp) throws ParseException {
static String getDateFormat(String timestamp) throws ParseException {
Date date = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").parse(timestamp);
return new SimpleDateFormat("dd-MMM-yy HH:mm:ss Z").format(date);
}
Expand All @@ -562,7 +562,7 @@ private static String getDateFormat(String timestamp) throws ParseException {
* @return the javascript file script as a string
* @throws IOException if an exception is thrown
*/
private static String getJavascriptFileToString() throws IOException {
public static String getJavascriptFileToString() throws IOException {
return String.valueOf(Files.readAllLines(Paths.get(RESOURCES_FILE + "htmlReporterElements.js")));
}
}
Loading