View woo-add-cart-fee.php
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
<?php | |
/** | |
* WooCommerce Add Fee to the Checkout Page | |
* | |
* @package WooCommerceAddFeeToCheckout | |
* @author Micah Wood | |
* @copyright Copyright 2023 by Micah Wood - All rights reserved. | |
* @license GPL2.0-or-later | |
* | |
* @wordpress-plugin |
View university-customer-role-assignment.php
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
<?php | |
/** | |
* University Customer Role Assignment | |
* | |
* @package UniversityCustomerRoleAssignment | |
* @author Micah Wood | |
* @copyright Copyright 2023 by Micah Wood - All rights reserved. | |
* @license GPL2.0-or-later | |
* |
View connect-tech-demo.cy
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
describe("Connect.tech Demo", () => { | |
it("tests Connect.tech Demo", () => { | |
cy.viewport(952, 976); | |
cy.visit("https://www.google.com/"); | |
cy.get("body > div.L3eUgb > div.o3j99.ikrT4e.om7nvf > form > div:nth-child(1) > div.A8SBwf > div.RNNXgb > div > div.a4bIc > input").click(); | |
cy.get("body > div.L3eUgb > div.o3j99.ikrT4e.om7nvf > form > div:nth-child(1) > div.A8SBwf > div.RNNXgb > div > div.a4bIc > input").type("seo"); |
View connect-tech-demo.json
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
{ | |
"title": "Connect.tech Demo", | |
"steps": [ | |
{ | |
"type": "setViewport", | |
"width": 952, | |
"height": 976, | |
"deviceScaleFactor": 1, | |
"isMobile": false, | |
"hasTouch": false, |
View simple-website-redirect-not-homepage.php
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
<?php | |
/** | |
* Simple Website Redirect - Not Homepage | |
* | |
* @package SimpleWebsiteRedirectNotHomepage | |
* @author Micah Wood | |
* @copyright Copyright 2022 by Micah Wood - All rights reserved. | |
* @license GPL2.0-or-later | |
* |
View cypress.yml
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
name: Cypress Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, edited, synchronize, reopened, ready_for_review] | |
pull_request_review: | |
types: [submitted, edited] |
View commands.js
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
Cypress.Commands.add('login', () => { | |
// Fetch username and password from the cypress.env.json file. | |
const username = Cypress.env('wpUsername'); | |
const password = Cypress.env('wpPassword'); | |
cy | |
.getCookies() | |
.then(cookies => { | |
let hasMatch = false; |
View trimByCharacterAndWordCount.php
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
<?php | |
$strings = [ | |
'One Two Three Four Five Six Seven Eight Nine Ten Eleven Twelve', | |
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua', | |
'Bacon ipsum dolor amet burgdoggen biltong pastrami, kielbasa sirloin strip steak cupim andouille tenderloin.', | |
'Hodor. Hodor hodor, hodor. Hodor hodor hodor hodor hodor. Hodor. Hodor! Hodor hodor, hodor; hodor hodor hodor.', | |
'Lorem Ipsum is the single greatest threat. We are not - we are not keeping up with other websites.', | |
'Cupcake ipsum dolor. Sit amet marshmallow topping cheesecake muffin.', | |
'This test is short.', |
View maintenance-mode.php
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
<?php | |
/** | |
* Maintenance Mode | |
* | |
* @package MaintenanceMode | |
* @author Micah Wood | |
* @copyright Copyright 2022 by Micah Wood - All rights reserved. | |
* @license GPL2.0-or-later | |
* | |
* @wordpress-plugin |
NewerOlder