You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serenity.version 3.3.10
I want to add capabilities by implemented FixtureService. However
in "ChromeDriverProvider" class, at line "EnhanceCapabilitiesWithFixtures.using(fixtureProviderService).into(enhancedOptions)" > enhancedOptions cannot get options that I added by implemented FixtureService.
by debugging, I see some problems in methods
public T into(MutableCapabilities options) {
applyFixturesTo(options);
return (T) options; // --> this return the original options (empty options), not the options after executed by "applyFixturesTo(options)"
}
I took a look at the code - applyFixturesTo doesn't return a value, it just acts on the options passed to it, so this part of the code behaves as expected.
serenity.version 3.3.10
I want to add capabilities by implemented FixtureService. However
in "ChromeDriverProvider" class, at line "EnhanceCapabilitiesWithFixtures.using(fixtureProviderService).into(enhancedOptions)" > enhancedOptions cannot get options that I added by implemented FixtureService.
by debugging, I see some problems in methods
public T into(MutableCapabilities options) {
applyFixturesTo(options);
return (T) options; // --> this return the original options (empty options), not the options after executed by "applyFixturesTo(options)"
}
private void applyFixturesTo(MutableCapabilities options) {
fixtureProviderService.getFixtureServices().forEach(
fixtureService -> fixtureService.addCapabilitiesTo(options)
);
}
>> So the method "applyFixturesTo(MutableCapabilities options)" should return the options that were implemented by "FixtureService"
The text was updated successfully, but these errors were encountered: