Unity of action is the principle that a play should present one complete action, with a beginning, a middle and an end, whose incidents are so connected by cause and effect that none could be removed without damage.
Aristotle's Poetics supplies the foundation. In Part VII he defines a whole as that which has a beginning, a middle, and an end, so that a well-made plot neither starts nor stops at random. Part VIII corrects a common error: unity of plot does not consist in the unity of the hero, because one life contains countless incidents that cannot form one action. Aristotle then states the test that has governed the idea ever since: the parts must be so united that if any one is displaced or removed the whole is disjointed and disturbed, and whatever makes no visible difference is not an organic part. Part IX adds that episodic plots, whose incidents lack probable or necessary sequence, are the worst.
Renaissance and neoclassical critics found this unity easy to accept. Castelvetro (1570) tied the single action to the narrow stage and short performance, and Corneille took it for granted in his Discours (1660). Dryden's Essay of Dramatic Poesy (1668) gives the clearest English account through Crites: the poet aims at one great and complete action to which everything, even the obstacles, is subservient; two actions equally laboured would make two plays; yet secondary actions, called under-plots, are permitted when they serve the main one, as in Terence's Eunuch.
Johnson's Preface to Shakespeare (1765) settled the matter. Having shown that the unities of time and place rest on the false belief that spectators mistake the stage for reality, he kept unity of action as the one thing essential to the fable, and credited Shakespeare, outside the histories, with plans that have a beginning, a middle and an end, in which one event is concatenated with another and the end of the play is the end of expectation.
Macbeth confirms the judgement. It ignores time and place but has a single action, the rise and fall of a usurper, in which each incident causes the next: prophecy and reward prompt temptation, Duncan's murder breeds insecurity, insecurity produces Banquo's murder, the banquet drives Macbeth back to the witches, their assurances lead to the killing of Macduff's family, and Malcolm's army brings the catastrophe. A Doll's House is tighter still. Its main action, the collapse of the Helmer marriage, is driven by Krogstad's hold over Nora, and its secondary strand, the reunion of Mrs Linde and Krogstad, changes his intentions, returns the bond and so produces Torvald's revealing relief and Nora's departure. The under-plot is subservient.
In conclusion, unity of action survives because it describes an effect rather than a convention: an audience in any theatre follows cause and effect and feels an inevitable ending. Macbeth and A Doll's House, so different in time scheme and setting, are alike in satisfying Aristotle's test.