galenframework / galen

Layout and functional testing framework for websites
http://galenframework.com
1.41k stars 161 forks source link

com.galenframework.parser.SyntaxException: Unknown statement: header-logo: #655

Open bpunati opened 4 years ago

bpunati commented 4 years ago

I am getting com.galenframework.parser.SyntaxException: Unknown statement: header-logo: in tutorial1/home.gspec:6 at com.galenframework.speclang2.pagespec.PostProcessor.processNode(PostProcessor.java:41) at com.galenframework.speclang2.pagespec.PostProcessor.process(PostProcessor.java:33) at com.galenframework.speclang2.pagespec.PageSpecReader.read(PageSpecReader.java:62) at com.galenframework.speclang2.pagespec.PageSpecReader.read(PageSpecReader.java:45) at com.galenframework.api.Galen.checkLayout(Galen.java:68) at com.galenframework.api.Galen.checkLayout(Galen.java:59) at com.galenframework.suite.actions.GalenPageActionCheck.execute(GalenPageActionCheck.java:52) at com.galenframework.runner.GalenPageRunner.executeAction(GalenPageRunner.java:84) at com.galenframework.runner.GalenPageRunner.run(GalenPageRunner.java:76) at com.galenframework.runner.GalenBasicTestRunner.runTest(GalenBasicTestRunner.java:76) at com.galenframework.tests.GalenBasicTest.execute(GalenBasicTest.java:55) at com.galenframework.TestRunnable.runTest(TestRunnable.java:75) at com.galenframework.TestRunnable.run(TestRunnable.java:101) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:832)

my home.gspec is @objects header-logo #header-logo header-text #header h1

= Header = header-logo: left-of header-text 5px

can you please help on why i am getting this error?

Thanks in advance