Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report generation is not linking all the pages very well #2914

Closed
andryi777 opened this issue Sep 5, 2022 · 2 comments
Closed

Report generation is not linking all the pages very well #2914

andryi777 opened this issue Sep 5, 2022 · 2 comments

Comments

@andryi777
Copy link

andryi777 commented Sep 5, 2022

Hi, please your help

I am working with serenity.version=3.3.2 and with io.appium-javaclient 8.1.1 for some mobile testing but when I finish my test and execute the command mvn:serenity:aggregate, the report is generated but without linking the test steps or test screenshots.

image

nevertheless, there are two pages with the steps and their screenshots but with a autogenerated name

image

here are my properties and dependencies of my POM.xml

	<properties>
		<serenity.version>3.3.2</serenity.version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<encoding>UTF-8</encoding>
		<tags></tags>
		<parallel.tests>5</parallel.tests>
		<webdriver.base.url></webdriver.base.url>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
	</properties>

And these dependencies:

<dependency>
			<groupId>net.serenity-bdd</groupId>
			<artifactId>serenity-core</artifactId>
			<version>${serenity.version}</version>
		</dependency>
		<dependency>
			<groupId>net.serenity-bdd</groupId>
			<artifactId>serenity-junit</artifactId>
			<version>${serenity.version}</version>
		</dependency>
		<dependency>
			<groupId>net.serenity-bdd</groupId>
			<artifactId>serenity-cucumber</artifactId>
			<version>${serenity.version}</version>
		</dependency>
		<dependency>
			<groupId>net.serenity-bdd</groupId>
			<artifactId>serenity-rest-assured</artifactId>
			<version>${serenity.version}</version>
		</dependency>
		<dependency>
			<groupId>net.serenity-bdd</groupId>
			<artifactId>serenity-ensure</artifactId>
			<version>${serenity.version}</version>
		</dependency>
		<dependency>
			<groupId>io.appium</groupId>
			<artifactId>java-client</artifactId>
			<version>8.1.1</version>
		</dependency>

@wakaleo
Copy link
Member

wakaleo commented Sep 5, 2022

Looks like you have a mix of compressed and uncompressed filenames - make sure serenity.compress.filenames is set to false and run mvn clean verify.

@andryi777
Copy link
Author

Yes, as i am using a serenity.properties and android.properties, in the second one I not putted that line:
serenity.compress.filenames=false

So, now I added it works very well with all the pages linked (steps and screenshots), thank you @wakaleo !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants