sridharbandi / Java-a11y

Accessibility Automated Testing with Java Selenium
https://sridharbandi.github.io/Java-a11y/
MIT License
12 stars 12 forks source link

man test failed #22

Closed kamal2222ahmed closed 1 year ago

kamal2222ahmed commented 1 year ago

I added the example class mentioned in the project, but man test failed:

14:23 $ mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< io.github.sridharbandi:java-a11y >------------------
[INFO] Building Java a11y 3.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ java-a11y ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 20 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ java-a11y ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 26 source files to /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[2,32] package io.github.bonigarcia.wdm does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[4,29] package org.junit.jupiter.api does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[5,29] package org.junit.jupiter.api does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[6,29] package org.junit.jupiter.api does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[7,29] package org.junit.jupiter.api does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[23,6] cannot find symbol
  symbol:   class BeforeEach
  location: class Example
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[33,6] cannot find symbol
  symbol:   class AfterEach
  location: class Example
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[39,6] cannot find symbol
  symbol:   class AfterAll
  location: class Example
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[44,6] cannot find symbol
  symbol:   class Test
  location: class Example
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[49,6] cannot find symbol
  symbol:   class Test
  location: class Example
[INFO] 10 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.923 s
[INFO] Finished at: 2022-11-02T14:24:00-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project java-a11y: Compilation failure: Compilation failure:
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[2,32] package io.github.bonigarcia.wdm does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[4,29] package org.junit.jupiter.api does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[5,29] package org.junit.jupiter.api does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[6,29] package org.junit.jupiter.api does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[7,29] package org.junit.jupiter.api does not exist
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[23,6] cannot find symbol
[ERROR]   symbol:   class BeforeEach
[ERROR]   location: class Example
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[33,6] cannot find symbol
[ERROR]   symbol:   class AfterEach
[ERROR]   location: class Example
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[39,6] cannot find symbol
[ERROR]   symbol:   class AfterAll
[ERROR]   location: class Example
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[44,6] cannot find symbol
[ERROR]   symbol:   class Test
[ERROR]   location: class Example
[ERROR] /Users/syedahmed/QA/TOOLS/508-A11Y/Java-a11y/src/main/java/io/github/sridharbandi/Example.java:[49,6] cannot find symbol
[ERROR]   symbol:   class Test
[ERROR]   location: class Example
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
sridharbandi commented 1 year ago

@kamal2222ahmed seems to be JUnit & WebDriverManager dependencies not added to your project.

sridharbandi commented 1 year ago

Closing as there is no activity