-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6e7e6c
commit d50cf95
Showing
24 changed files
with
179 additions
and
11,862 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
FROM composer | ||
FROM php:7.4 | ||
|
||
COPY --from=composer /usr/bin/composer /usr/bin/composer | ||
|
||
RUN apt-get -y update && \ | ||
apt-get -y install libzip-dev && \ | ||
docker-php-ext-configure zip && \ | ||
docker-php-ext-install zip && \ | ||
echo "extension=zip" > /usr/local/etc/php/conf.d/docker-php-ext-zip.ini | ||
|
||
WORKDIR /woocommerce-jadlog | ||
|
||
ENTRYPOINT [ "/usr/bin/composer" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
class ShippingZonesCest | ||
{ | ||
public function _before(AcceptanceTester $I) | ||
{ | ||
$I->resizeWindow(1200, 960); | ||
} | ||
|
||
public function jadlogShippingMethodMustBeAvailable(AcceptanceTester $I) | ||
{ | ||
$I->loginAs('admin', 'admin'); | ||
$I->amOnAdminPage('/admin.php?page=wc-settings&tab=shipping'); | ||
|
||
$I->click('Adicionar área de entrega'); | ||
$I->fillField(['name' => 'zone_name'], 'Zona de testes'); | ||
|
||
$I->click('Adicionar método de entrega'); | ||
$I->selectOption('select[name=add_method_id]', 'Jadlog'); | ||
$I->click('Adicionar método de entrega', '.wc-backbone-modal'); | ||
$I->see('Jadlog'); | ||
$I->see('Modalidades Package, Expresso e Pickup'); | ||
|
||
$I->fillField('input[placeholder="Selecione as regiões desta área"]', 'Argentina'); | ||
$I->see('Buenos Aires'); | ||
$I->pressKey('#select2-zone_locations-results li', \Facebook\WebDriver\WebDriverKeys::ENTER); | ||
|
||
$I->click('Salvar alterações'); | ||
$I->click('Áreas de entrega'); | ||
$I->seeLink('Zona de testes'); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.