Fix giveaway prize name
Some checks failed
Test, build and push image to registry / build-image (push) Has been cancelled
Test, build and push image to registry / phpunit-tests (push) Has been cancelled

This commit is contained in:
2025-11-07 10:02:30 +01:00
parent 12280c6d54
commit c61750285a

View File

@@ -209,7 +209,7 @@ class HellcaseJob extends BrowserJob implements ShouldBeUniqueUntilProcessing
// JobRun
// Get the elements text containing class starting with giveaway-entity-prize__
$prizeElement = $browser->driver->findElements(WebDriverBy::xpath('//div[starts-with(@class, "giveaway-entity-prize__")]'));
$prizeElement = $browser->driver->findElements(WebDriverBy::xpath('//div[starts-with(@class, "_giveaway_")]'));
// Join their text
$prize = "";
foreach ($prizeElement as $element) {