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 Jul 23 15:04:17 2025)

describe("admin/additional/smsadd", function () {
    const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'zh-Hant-TW'];
    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();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("smsadd", function () {
                cy.visit("/cgi-bin/koha/admin/sms_providers.pl");
                cy.waitForPageLoad();
                cy.get("main").should('be.visible').screenshot("smsadd");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM sms_providers WHERE name=\"Verizon\"")
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        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'

Thumbnails


Old Thumbnail old
New Thumbnail new
New (de)
New (el)
New (es)
New (fr)
New (zh_Hant)

Old

New (updated on Wed Jul 23 17:47:41 2025)

New (de)

New (el)

New (es)

New (fr)

New (zh_Hant)

Wed Jul 23 18:00:02 2025

Wed Jun 4 14:45:02 2025

Wed Jun 4 14:15:02 2025

Wed May 21 00:45:01 2025

Old screenshot