Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en ar cs de el es fr fr_CA hi it pt pt_BR sk sv tr zh_Hant

Image details

smsadd (#150)

Job

No job planned.

Difficulty

Medium

Spec (updated on Wed Jun 4 14:41:19 2025)

describe("admin/additional/smsadd", function () {
    const languages = ['en', 'es-ES', 'fr-FR'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // If previous test failed, skip this one
                if (Cypress.env("TEST_FAILED")) {
                    this.skip();
                }
                /* FIXME - Invalid step UPDATE systempreferences SET value="Email" WHERE variable=SMSSendDriver */
                cy.query("INSERT INTO sms_providers (name, domain) VALUES (\"Verizon\", \"vtext.com\")")
                cy.login();
                cy.set_cookie_lang(lang);
            });

            it("smsadd", function () {
                cy.visit("/cgi-bin/koha/admin/sms_providers.pl");
                cy.get("main").should('be.visible').screenshot("smsadd");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM sms_providers WHERE name=\"Verizon\"")
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

sms_providers.pl

Interface

staff

Element selector

main

Missing selector

N

setup

UPDATE systempreferences SET value="Email" WHERE variable=SMSSendDriver
sql INSERT INTO sms_providers (name, domain) VALUES ("Verizon", "vtext.com")

workflow


        

teardown

sql DELETE FROM sms_providers WHERE name="Verizon"

Notes

Go to Administration > System preferences > SMSSendDriver > enter 'Email' > save > Go to Administration > SMS cellular providers > click New SMS provider > add 'Verizon', 'vtext.com' > Submit

Prerequisite: SMSSendDriver preference is set to ‘Email’. PLUS: Screens are now different and do not behave as shown.

Additional KTD data

Table: sms_providers
name = 'Verizon'
domain='vtext.com'

Old

New (updated on Wed Jun 4 22:31:23 2025)

New (es)

New (fr)